package cn.com.chengmandian.bss.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 电单车监管-通用推送表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("bss_common_push")
@ApiModel(value = "BssCommonPush对象", description = "电单车监管-通用推送表")
public class BssCommonPush implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("拟发送渠道，系统将按顺序依次尝试发送 1-SMS")
    private String channels;

    @ApiModelProperty("用户类型 1-平台管理用户 2-城市监管用户 3-城市巡检用户 4-数据平台用户 5-车商运维用户")
    private Integer toUserType;

    @ApiModelProperty("用户ID")
    private Integer toUserId;

    @ApiModelProperty("用户名称")
    private String toUserName;

    @ApiModelProperty("业务类型 1-短信验证码")
    private Integer businessType;

    @ApiModelProperty("业务类型ID")
    private Integer businessId;

    @ApiModelProperty("发送对象")
    private String pushTo;

    @ApiModelProperty("推送消息体")
    private String pushContent;

    @ApiModelProperty("状态 1-待发送 2-发送成功 3-发送失败")
    private Integer status;

    @ApiModelProperty("状态说明")
    private String message;

    @ApiModelProperty("实际发送渠道 1-SMS")
    private Integer sendChannel;

    @ApiModelProperty("发送时间")
    private Date sendTime;

    @ApiModelProperty("发送时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
